import IndexRouter from "./router/IndexRouter";
import {Provider} from 'react-redux'
import './App.css'
import {persistor, store} from "./redux/store";
import React from "react";
// import { PersistGate } from 'redux-persist/integration/react'

function App() {
  return (
      <Provider store={store}>
          {/*<PersistGate loading={null} persistor={persistor}>*/}
              <IndexRouter/>
          {/*</PersistGate>*/}
      </Provider>
  )
}

export default App